package com.jiezhuo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jiezhuo.dto.IotSceneInfoDTO;
import com.jiezhuo.dto.ProjectManagementDTO;
import com.jiezhuo.entity.IotSceneInfo;
import com.jiezhuo.entity.SensorVideoRelation;
import com.jiezhuo.entity.vo.IotSceneInfoVo;
import com.jiezhuo.entity.vo.IotSceneNodeVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author com.jiezhuo
 * @since 2022-10-19
 */
public interface IotSceneInfoService extends IService<IotSceneInfo> {

    List<IotSceneInfo> getIotSceneInfo(String name);

    List<IotSceneInfoVo> selectAllInfo(int id);

    IotSceneInfo selectIotSceneInfoById(int id);

    List<Map<String,Object>> getSceneInfoDetails(Integer id);

    List<Map<String,Object>> video(Integer id);

    Map<String,Integer> onlineEquipment(Integer id);

    List<Map<String,Object>> equipmentDetail(Integer id);

    List<IotSceneInfo> selectIotSceneInfo(ProjectManagementDTO projectManagementDTO);

    List<Map<String,Object>> selectSceneUserRelation(Integer id);

    List<IotSceneNodeVo> getSceneNode();

    Map<String,Integer> getAllData();

    List<Map<String,Object>>getSceneByNodeInfo(IotSceneInfoDTO iotSceneInfoDTO);


    /*List<IotSceneNodeVo> getSceneVideo();*/
}
